import Vue from "vue"
import VueRouter from "vue-router"

Vue.use(VueRouter)

const routes = [
  {
    name: '/login',
    path: "/login",
    component: () => import("@/views/login.vue"),
  },
  {
    name: '/console',
    path: "/console",
    component: () => import("@/views/console.vue"),
  },
  {
    name: '/dash/work',
    path: "/dash/work",
    component: () => import("@/views/dash/work.vue"),
  },
]

const router = new VueRouter({
  routes,
})

export default router
